package service;

import java.io.File;
import java.rmi.Remote;
import java.rmi.RemoteException;
import dto.*;
import java.util.Vector;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Islam
 */
public interface ChatRoomInt extends Remote {

    int getChatRoomID() throws RemoteException;

    void setChatRoomID(int chatRoomID) throws RemoteException;

    public Vector<Account> getChatRoomMembers() throws RemoteException;
    
     public void setChatRoomMembers(Vector<Account> chatRoomMembers)throws RemoteException;

    File download_file(String fileName) throws RemoteException;

    void upload_file(File upfile) throws RemoteException;

    void addMemberToRoom(Account account) throws RemoteException;

    void removeMemberFromRoom(Account account, ChatRoomInt chatRoom) throws RemoteException;

    void notifyLeavingUser(Account account, ChatRoomInt chatRoom) throws RemoteException;
}